.shipping_space {
  display: flex;
  width: 100%;
  align-items: center;
  column-gap: 12px;
}

.warehouse_list {
  height: calc(100vh - 92px);
  box-sizing: border-box;
  padding: 12px;

  .main {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 12px;
    background-color: #fff;
    
    .statistics {
      background-color: #fff;
      display: flex;
      box-sizing: border-box;
      padding: 0 14px;
      column-gap: 26px;

      .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 3px;

        .title {
          color: #000;
          font-size: 14px;
        }

        .num {
          font-size: 24px;
          color: #000;
          font-weight: bold;
          height: 20px;
          line-height: 20px;
        }
      }

      .line {
        width: 1px;
        height: 100%;
        background-color: #e5e5e5;
      }
    }

    .divider_line {
      border-bottom: 1px dotted #e5e5e5;
      margin: 12px 0;
    }

    .table_container {
      height: calc(100% - 42px - 25px);
      background-color: #fff;
      display: flex;
      flex-direction: column;
      row-gap: 12px;
      box-sizing: border-box;
      padding: 0 12px;

      .operate {
        display: flex;
        justify-content: space-between;

        .btn_group {
          display: flex;
          column-gap: 5px;
        }

        .search {
          display: flex;
          column-gap: 5px;

          :deep(.el-select) {
            width: 120px;
          }

          :deep(.el-input) {
            width: 140px;
          }
        }
      }

      .table {
        max-height: calc(100% - 80px);
        margin: 0;

        .allow_negative_inventory {
          display: flex;
          align-items: center;
          column-gap: 3px;

          .icon {
            width: 16px;
            height: 16px;
            box-sizing: border-box;
            border: 1px solid $primaryColor;
            line-height: 15px;
            text-align: center;

            .iconfont {
              font-size: 12px;
              color: $primaryColor;
            }
          }

          .txt {
            line-height: 16px;
            height: 16px;
            color: $primaryColor;
          }
        }

        .disable {
          .icon {
            border-color: #606266;

            .iconfont {
              color: #606266;
            }
          }

          .txt {
            color: #606266;
          }
        }
      }

      .pagination {
        display: flex;
        justify-content: flex-end;
      }
    }
  }
}

.top {
  padding: 12px;
  padding-bottom: 0;

  ul {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;

    li {
      padding-left: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 20%;

      span {
        font-size: 24px;
        font-weight: 600;
      }

      p {
        padding: 8px 0;
        font-size: 14px;
      }
    }

    .border-left {
      // margin-left: 40px;
      border-left: 1px solid #e5e5e5;
    }
  }
}

.header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;

  .create-sto {
    display: flex;
    align-items: center;

    .mr5 {
      margin-right: 5px;
    }

    .btn {
      display: flex;
      align-items: center;
    }
  }

  .search {
    display: flex;
    align-items: center;

    .w100 {
      width: 150px;
    }

    .mr5 {
      margin-right: 5px;
    }

    .btn {
      display: flex;
      align-items: center;
    }
  }
}

.table {
  width: 100%;
  margin: 10px 0;

  .btns {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  :deep(.el-checkbox.el-checkbox--large) {
    height: auto !important;
  }

  .right_text {
    width: 100%;
    text-align: right !important;
  }

  .change_style {
    color: #007cff;

    &:hover {
      text-decoration: underline;
      cursor: pointer;
    }
  }
}

.footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

:deep(.add-dialog) {
  --el-font-size-base: 12px;

  .cards {
    margin: 12px;

    .el-form-item__label {
      --el-form-label-font-size: 12px;
    }

    .item_bottom {
      margin-bottom: 15px;
    }

    .store_name_list {
      max-height: 20vh;
      overflow-y: auto;
    }

    .add_item {
      text-align: center;
      color: #007cff;
      cursor: pointer;
    }
  }

  .el-select .el-input.is-disabled .el-input__wrapper {
    width: 300px;
  }

  .el-input {
    width: 300px !important;
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px;
    margin-top: 25px;
    flex-direction: row-reverse;
    position: relative;

    .btn {
      height: 35px;
      line-height: 33px;
      padding: 0 15px;
      color: #ffffff;
      border-radius: 2px;
      display: inline-block;
      font-weight: 400;
      border: 1px solid #e5e5e5;
      font-size: 14px;
      cursor: pointer;
    }

    .save {
      border-color: #007cff;
      background-color: #007cff;
    }

    .cancel {
      border-color: #a6a6a6;
      background-color: #a6a6a6;
      margin-left: 5px;
    }
  }
}

.btn_edit {
  width: 50px;
}

.btn_save {
  width: 60px;
}

.btn_delete {
  width: 60px;
  color: #fff;
}

.btn_cancel {
  width: 60px;

  &:hover {
    border: 1px solid #e5e5e5;
    color: #999;
    background-color: #e5e5e5;
  }
}
